package ModelLayer;

/**
 * @author (Gruppe C) 
 * @version (2012.11.09)
 */
public class Lend
{
    // Fields
    private static int id;
    private String date;
    private int period; // In days
    private String status;
    
    private Person person; // Person lending.
    private Specimen specimen; // SPecimen loaned.
    
    private static int nextId;
    
    public Lend(String date, int period, String status)
    {
        nextId++; // Advance id.
        this.id = nextId;
        this.date = date;
        this.period = period;
        this.status = status;
        
        
    }
    
    public String getDate()
    {
        return date;
    }
    public int getPeriod()
    {
        return period;
    }
    public String getStatus()
    {
        return status;
    }
}
